<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Campus_model extends MY_Model{
	
	public $tb_name = 'campus';
	
	public function __construct(){
		parent::__construct($this->tb_name);
	}
	
	public function get_result($cond = array()){
		if(!$cond['order_by']){
			$cond['order_by'] = "displayorder = '0', displayorder asc, id asc";
		}
		$result = parent::get_result($cond);
		return $result;
	}
	
}